package com.xbongbong.pro.companyconfig.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 启用/关闭配置
 * @author hongxiao
 * @date 2019-01-21 16:07
 */
@Getter
@Setter
@ToString
public class CompanyConfigEnableDTO extends BaseDTO {
    /**
     * 启用/关闭
     */
    @NotNull(message = "{dto.msg.companyConfigEnable.value.NotNull}")
    private String value;
    /**
     * 配置别名
     */
    @NotBlank(message = "{dto.msg.companyConfigEnable.alias.NotBlank}")
    private String alias;
}
